<template>
  <div class="home">
    <h1>{{ message }}</h1>
    <div class="content">
      <slot>
        <h2>我是插槽的默认值</h2>
      </slot>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      message: 'vue',
    }
  },
}
</script>
<style scoped></style>
